package com.yxym.homework08;

public class homework08 {
    public static void main(String[] args) {
        Doctor doctor1 = new Doctor("王",20,"老师",1.2,20000.0);
        Doctor doctor2 = new Doctor("s",20,"老师",1.2,20000.0);
        System.out.println(doctor1.equals(doctor2));
    }
}
